package com.hmy.contract.service.authorizermodify;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hmy.contract.bo.request.authorizermodify.*;
import com.hmy.contract.bo.response.authorizermodify.AuthorizerModifyResponse;
import com.hmy.contract.bo.response.authorizermodify.QueryModifyHistoryResponse;

public interface IAuthorizerModifyService {

    Long saveAuthorizerModify(SaveAuthorizerModifyRequest request);

    Long submitAuthorizerModify(SaveAuthorizerModifyRequest request);

    Boolean deleteAuthorizerModify(Long modifyId);

    Boolean revokeAuthorizerModify(RevokeAuthorizerModifyRequest request);

    Boolean approveAuthorizerModify(ApproveAuthorizerModifyRequest approve);

    AuthorizerModifyResponse queryAuthorizerModifyDetail(QueryAuthorizerModifyRequest query);

    Page<AuthorizerModifyResponse> queryAuthorizerModifyPage(QueryAuthorizerModifyRequest query);

    QueryModifyHistoryResponse queryAuthorizerModifyHistory(QueryAuthorizerModifyHistoryRequest request);

}
